/* 
 * File:   MainWindow.h
 * Author: jose
 *
 * Created on March 30, 2012, 6:13 PM
 */

#ifndef MAINWINDOW_H
#define	MAINWINDOW_H

#include "GameState.h"
#include <SDL/SDL_ttf.h>

class MainWindow : public GameState {
public:
    MainWindow();
    MainWindow(const MainWindow& orig);
    virtual ~MainWindow();
    void handleEvents(SDL_Event *event);
    void processLogic(GameStatus *gameStatus);
    void render(SDL_Surface *screen);
private:
    TTF_Font *font;
    bool loadFiles();
    SDL_Surface *txtPlayerVsPlayer;
    SDL_Surface *txtPlayerVsCom;
    SDL_Surface *txtEndGame;
    int fontStylePvP;
    int fontStylePvC;
    int fontStyleEnd;
   enum clickType{ CLICK_NONE, CLICK_PVP, CLICK_PVC, CLICK_END };
    clickType click;      
};

#endif	/* MAINWINDOW_H */

